
setOneClass();

function setOneClass(){
	Ts_categoryInfo.getCatClassByUpId("000000000000000",'2',function(data){
	DWRUtil.removeAllOptions('sort1');
	DWRUtil.addOptions('sort1',{'':'请选择'});
	DWRUtil.addOptions('sort1',data);
	});
	
} 
 

function setSecondClass(val) {
 
	Ts_categoryInfo.getCatClassByUpId(val, '2', function(data){
	DWRUtil.removeAllOptions('sort2');
	DWRUtil.addOptions('sort2',{'':'请选择'});
	DWRUtil.addOptions('sort2',data);
	DWRUtil.removeAllOptions('sort3');
	DWRUtil.addOptions('sort3',{'':'请选择'});
	});
} 
function setTherdClass(val){ 
	Ts_categoryInfo.getCatClassByUpId(val, '2',  function(data){
	DWRUtil.removeAllOptions('sort3');
	DWRUtil.addOptions('sort3',{'':'请选择'});
	DWRUtil.addOptions('sort3',data);	
	});
} 


 
 